{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 13,
   "id": "361b3583",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "<class 'dict'>\n",
      "{'a': '1'}\n",
      "{'a': '1', 'b': 2}\n",
      "dict_keys(['a', 'b'])\n",
      "dict_values(['1', 2])\n",
      "True\n",
      "False\n"
     ]
    }
   ],
   "source": [
    "dir1 = {'a' : '1'}\n",
    "print(type(dir1))\n",
    "print(dir1)\n",
    "\n",
    "dir1['b'] = 2\n",
    "print(dir1)\n",
    "\n",
    "print(dir1.keys())\n",
    "print(dir1.values())\n",
    "\n",
    "print(\"a\" in dir1)\n",
    "print(\"c\" in dir1)"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.9.6"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
